package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.pojo.DeviceInformation;
import com.j283_5.wisdom_park.vo.device_management.DeviceInformationVo;
import com.j283_5.wisdom_park.vo.device_management.DeviceVo;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface DeviceInformationService extends IService<DeviceInformation> {
    List<DeviceInformationVo> queryDeviceInformation(Page page, DeviceInformationVo deviceInformationVo, Integer adminId);

    Integer queryDeviceCount(DeviceInformationVo deviceInformationVo, Integer adminId);

    DeviceVo queryOneDevice(Integer dinfId);

    boolean deleteDevice(ArrayList deviceIdList);

    boolean addDeviceInformation(DeviceVo deviceVo);
}
